.class public Lcom/glympse/platform/LocManager;
.super Lcom/glympse/platform/common/LocManagerBase;
.source "LocManager.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/glympse/platform/LocManager$GpsIdleTimer;,
        Lcom/glympse/platform/LocManager$ProviderGps;,
        Lcom/glympse/platform/LocManager$ProviderNetwork;,
        Lcom/glympse/platform/LocManager$ProviderSimulator;,
        Lcom/glympse/platform/LocManager$SetProviderOnMainThread;
    }
.end annotation


# instance fields
.field public m_eLocProvider:I

.field protected m_fGps:Z

.field protected m_fStarted:Z

.field protected m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

.field protected m_oLocationManager:Landroid/location/LocationManager;

.field protected m_oProviderGps:Lcom/glympse/platform/LocManager$ProviderGps;

.field protected m_oProviderNetwork:Lcom/glympse/platform/LocManager$ProviderNetwork;

.field protected m_oProviderSimulator:Lcom/glympse/platform/LocManager$ProviderSimulator;

.field protected m_oProviderSkyhook:Lcom/glympse/platform/ProviderSkyhook;

.field protected m_oProviderVerizon:Lcom/glympse/platform/ProviderVerizon;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    const/4 v0, 0x0

    .line 32
    invoke-direct {p0}, Lcom/glympse/platform/common/LocManagerBase;-><init>()V

    .line 34
    iput-boolean v1, p0, Lcom/glympse/platform/LocManager;->m_fStarted:Z

    .line 35
    iput-boolean v1, p0, Lcom/glympse/platform/LocManager;->m_fGps:Z

    .line 36
    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oLocationManager:Landroid/location/LocationManager;

    .line 37
    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSkyhook:Lcom/glympse/platform/ProviderSkyhook;

    .line 38
    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderVerizon:Lcom/glympse/platform/ProviderVerizon;

    .line 39
    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderNetwork:Lcom/glympse/platform/LocManager$ProviderNetwork;

    .line 40
    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderGps:Lcom/glympse/platform/LocManager$ProviderGps;

    .line 41
    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSimulator:Lcom/glympse/platform/LocManager$ProviderSimulator;

    .line 42
    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

    .line 43
    sget-object v0, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    invoke-virtual {v0}, Lcom/glympse/android/glympseservice/GlympseService;->IsEmulator()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, -0x1

    :goto_0
    iput v0, p0, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    .line 32
    return-void

    .line 43
    :cond_0
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget v0, v0, Lcom/glympse/platform/Config;->m_eLocProviderThisRun:I

    goto :goto_0
.end method

.method public static LocPointToGeoPoint(Lcom/glympse/platform/common/LocPoint;)Lcom/google/android/maps/GeoPoint;
    .locals 6
    .parameter "oLocPoint"

    .prologue
    const-wide v4, 0x412e848000000000L

    .line 332
    if-eqz p0, :cond_0

    invoke-virtual {p0}, Lcom/glympse/platform/common/LocPoint;->HasLocation()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 334
    new-instance v0, Lcom/google/android/maps/GeoPoint;

    iget-wide v1, p0, Lcom/glympse/platform/common/LocPoint;->m_dLatitude:D

    mul-double/2addr v1, v4

    invoke-static {v1, v2}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Double;->intValue()I

    move-result v1

    .line 335
    iget-wide v2, p0, Lcom/glympse/platform/common/LocPoint;->m_dLongitude:D

    mul-double/2addr v2, v4

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Double;->intValue()I

    move-result v2

    .line 334
    invoke-direct {v0, v1, v2}, Lcom/google/android/maps/GeoPoint;-><init>(II)V

    .line 339
    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Lcom/google/android/maps/GeoPoint;

    const v1, 0x29f4855

    const v2, -0x618145b

    invoke-direct {v0, v1, v2}, Lcom/google/android/maps/GeoPoint;-><init>(II)V

    goto :goto_0
.end method


# virtual methods
.method protected CreateLocPoint(Landroid/location/Location;I)Lcom/glympse/platform/common/LocPoint;
    .locals 4
    .parameter "oLocation"
    .parameter "eLocProvider"

    .prologue
    const/high16 v3, 0x7fc0

    .line 96
    new-instance v0, Lcom/glympse/platform/common/LocPoint;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Lcom/glympse/platform/common/LocPoint;-><init>(Z)V

    .line 97
    .local v0, oLocPoint:Lcom/glympse/platform/common/LocPoint;
    iput p2, v0, Lcom/glympse/platform/common/LocPoint;->m_eLocProvider:I

    .line 98
    invoke-virtual {p1}, Landroid/location/Location;->getLatitude()D

    move-result-wide v1

    iput-wide v1, v0, Lcom/glympse/platform/common/LocPoint;->m_dLatitude:D

    .line 99
    invoke-virtual {p1}, Landroid/location/Location;->getLongitude()D

    move-result-wide v1

    iput-wide v1, v0, Lcom/glympse/platform/common/LocPoint;->m_dLongitude:D

    .line 100
    invoke-virtual {p1}, Landroid/location/Location;->hasAltitude()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {p1}, Landroid/location/Location;->getAltitude()D

    move-result-wide v1

    double-to-float v1, v1

    :goto_0
    iput v1, v0, Lcom/glympse/platform/common/LocPoint;->m_fltAltitudeMeters:F

    .line 101
    invoke-virtual {p1}, Landroid/location/Location;->hasBearing()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {p1}, Landroid/location/Location;->getBearing()F

    move-result v1

    :goto_1
    iput v1, v0, Lcom/glympse/platform/common/LocPoint;->m_fltBearingDegrees:F

    .line 102
    invoke-virtual {p1}, Landroid/location/Location;->hasSpeed()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-virtual {p1}, Landroid/location/Location;->getSpeed()F

    move-result v1

    :goto_2
    iput v1, v0, Lcom/glympse/platform/common/LocPoint;->m_fltSpeedMetersPerSecond:F

    .line 103
    invoke-virtual {p1}, Landroid/location/Location;->hasAccuracy()Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-virtual {p1}, Landroid/location/Location;->getAccuracy()F

    move-result v1

    :goto_3
    iput v1, v0, Lcom/glympse/platform/common/LocPoint;->m_fltAccuracyMeters:F

    .line 104
    invoke-virtual {p1}, Landroid/location/Location;->getTime()J

    move-result-wide v1

    iput-wide v1, v0, Lcom/glympse/platform/common/LocPoint;->m_lLocationTime:J

    .line 105
    return-object v0

    :cond_0
    move v1, v3

    .line 100
    goto :goto_0

    :cond_1
    move v1, v3

    .line 101
    goto :goto_1

    :cond_2
    move v1, v3

    .line 102
    goto :goto_2

    :cond_3
    move v1, v3

    .line 103
    goto :goto_3
.end method

.method public IfProviderSetProvider(II)V
    .locals 1
    .parameter "eLocProviderIf"
    .parameter "eLocProviderSet"

    .prologue
    .line 196
    iget v0, p0, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    if-ne v0, p1, :cond_0

    .line 198
    const/4 v0, 0x0

    invoke-virtual {p0, p2, v0}, Lcom/glympse/platform/LocManager;->SetProvider(IZ)Z

    .line 200
    :cond_0
    return-void
.end method

.method public SetProvider(IZ)Z
    .locals 3
    .parameter "eLocProvider"
    .parameter "fForce"

    .prologue
    const/4 v2, 0x0

    .line 111
    const/4 v0, 0x1

    .line 114
    .local v0, fSuccess:Z
    if-nez p2, :cond_0

    iget v1, p0, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    if-eq v1, p1, :cond_3

    .line 116
    :cond_0
    iput p1, p0, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    .line 119
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v1

    invoke-virtual {v1}, Lcom/glympse/platform/Platform;->IsMainThread()Z

    move-result v1

    if-nez v1, :cond_1

    .line 121
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v1

    new-instance v2, Lcom/glympse/platform/LocManager$SetProviderOnMainThread;

    invoke-direct {v2, p0, p1}, Lcom/glympse/platform/LocManager$SetProviderOnMainThread;-><init>(Lcom/glympse/platform/LocManager;I)V

    invoke-virtual {v1, v2}, Lcom/glympse/platform/Platform;->PostToMainThread(Lcom/glympse/platform/GRunnable;)Z

    .line 122
    const/4 v1, 0x1

    .line 190
    :goto_0
    return v1

    .line 125
    :cond_1
    iget v1, p0, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    packed-switch v1, :pswitch_data_0

    .line 184
    :cond_2
    :goto_1
    if-nez v0, :cond_3

    .line 186
    invoke-virtual {p0, v2, v2}, Lcom/glympse/platform/LocManager;->SetProvider(IZ)Z

    :cond_3
    move v1, v0

    .line 190
    goto :goto_0

    .line 130
    :pswitch_0
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderVerizon()V

    .line 131
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderSkyhook()V

    .line 132
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderNetwork()V

    .line 133
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderGps()V

    .line 136
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StartProviderSimulator()Z

    goto :goto_1

    .line 142
    :pswitch_1
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderVerizon()V

    .line 143
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderSkyhook()V

    .line 144
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderSimulator()V

    .line 147
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StartProviderGps()Z

    .line 148
    iget-boolean v1, p0, Lcom/glympse/platform/LocManager;->m_fGps:Z

    if-nez v1, :cond_2

    .line 150
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StartProviderNetwork()Z

    goto :goto_1

    .line 157
    :pswitch_2
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderVerizon()V

    .line 158
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderNetwork()V

    .line 159
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderSimulator()V

    .line 160
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderGps()V

    .line 166
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StartProviderSkyhook()Z

    move-result v0

    .line 168
    goto :goto_1

    .line 173
    :pswitch_3
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderSkyhook()V

    .line 174
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderNetwork()V

    .line 175
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderSimulator()V

    .line 176
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderGps()V

    .line 179
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StartProviderVerizon()Z

    move-result v0

    goto :goto_1

    .line 125
    :pswitch_data_0
    .packed-switch -0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public Start()V
    .locals 2

    .prologue
    const/4 v1, 0x1

    .line 48
    iget-boolean v0, p0, Lcom/glympse/platform/LocManager;->m_fStarted:Z

    if-nez v0, :cond_0

    .line 50
    iput-boolean v1, p0, Lcom/glympse/platform/LocManager;->m_fStarted:Z

    .line 52
    const-string v0, "LocManager.Start()"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 55
    iget v0, p0, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    invoke-virtual {p0, v0, v1}, Lcom/glympse/platform/LocManager;->SetProvider(IZ)Z

    .line 57
    :cond_0
    return-void
.end method

.method protected StartGpsIdleTimer()V
    .locals 5

    .prologue
    const/4 v4, 0x0

    .line 360
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

    if-nez v0, :cond_0

    .line 362
    const-string v0, "Starting location timer"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 365
    new-instance v0, Lcom/glympse/platform/LocManager$GpsIdleTimer;

    invoke-direct {v0, p0, v4}, Lcom/glympse/platform/LocManager$GpsIdleTimer;-><init>(Lcom/glympse/platform/LocManager;Lcom/glympse/platform/LocManager$GpsIdleTimer;)V

    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

    .line 368
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, p0, Lcom/glympse/platform/LocManager;->m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

    const-wide/16 v2, 0x2710

    invoke-virtual {v0, v1, v2, v3}, Lcom/glympse/platform/Platform;->PostToMainThreadDelayed(Lcom/glympse/platform/GRunnable;J)Z

    move-result v0

    if-nez v0, :cond_0

    .line 370
    iput-object v4, p0, Lcom/glympse/platform/LocManager;->m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

    .line 373
    :cond_0
    return-void
.end method

.method protected StartProviderGps()Z
    .locals 1

    .prologue
    .line 290
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderGps:Lcom/glympse/platform/LocManager$ProviderGps;

    if-nez v0, :cond_0

    .line 292
    new-instance v0, Lcom/glympse/platform/LocManager$ProviderGps;

    invoke-direct {v0, p0}, Lcom/glympse/platform/LocManager$ProviderGps;-><init>(Lcom/glympse/platform/LocManager;)V

    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderGps:Lcom/glympse/platform/LocManager$ProviderGps;

    .line 295
    :cond_0
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderGps:Lcom/glympse/platform/LocManager$ProviderGps;

    invoke-virtual {v0}, Lcom/glympse/platform/LocManager$ProviderGps;->Start()Z

    move-result v0

    return v0
.end method

.method protected StartProviderNetwork()Z
    .locals 1

    .prologue
    .line 269
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderNetwork:Lcom/glympse/platform/LocManager$ProviderNetwork;

    if-nez v0, :cond_0

    .line 271
    new-instance v0, Lcom/glympse/platform/LocManager$ProviderNetwork;

    invoke-direct {v0, p0}, Lcom/glympse/platform/LocManager$ProviderNetwork;-><init>(Lcom/glympse/platform/LocManager;)V

    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderNetwork:Lcom/glympse/platform/LocManager$ProviderNetwork;

    .line 274
    :cond_0
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderNetwork:Lcom/glympse/platform/LocManager$ProviderNetwork;

    invoke-virtual {v0}, Lcom/glympse/platform/LocManager$ProviderNetwork;->Start()Z

    move-result v0

    return v0
.end method

.method protected StartProviderSimulator()Z
    .locals 2

    .prologue
    .line 311
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSimulator:Lcom/glympse/platform/LocManager$ProviderSimulator;

    if-nez v0, :cond_0

    .line 313
    new-instance v0, Lcom/glympse/platform/LocManager$ProviderSimulator;

    invoke-direct {v0, p0}, Lcom/glympse/platform/LocManager$ProviderSimulator;-><init>(Lcom/glympse/platform/LocManager;)V

    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSimulator:Lcom/glympse/platform/LocManager$ProviderSimulator;

    .line 316
    :cond_0
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSimulator:Lcom/glympse/platform/LocManager$ProviderSimulator;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/glympse/platform/LocManager$ProviderSimulator;->Start(Z)V

    .line 317
    const/4 v0, 0x1

    return v0
.end method

.method protected StartProviderSkyhook()Z
    .locals 1

    .prologue
    .line 227
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSkyhook:Lcom/glympse/platform/ProviderSkyhook;

    if-nez v0, :cond_0

    .line 229
    new-instance v0, Lcom/glympse/platform/ProviderSkyhook;

    invoke-direct {v0}, Lcom/glympse/platform/ProviderSkyhook;-><init>()V

    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSkyhook:Lcom/glympse/platform/ProviderSkyhook;

    .line 232
    :cond_0
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSkyhook:Lcom/glympse/platform/ProviderSkyhook;

    invoke-virtual {v0}, Lcom/glympse/platform/ProviderSkyhook;->Start()Z

    move-result v0

    return v0
.end method

.method protected StartProviderVerizon()Z
    .locals 1

    .prologue
    .line 248
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderVerizon:Lcom/glympse/platform/ProviderVerizon;

    if-nez v0, :cond_0

    .line 250
    new-instance v0, Lcom/glympse/platform/ProviderVerizon;

    invoke-direct {v0}, Lcom/glympse/platform/ProviderVerizon;-><init>()V

    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderVerizon:Lcom/glympse/platform/ProviderVerizon;

    .line 253
    :cond_0
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderVerizon:Lcom/glympse/platform/ProviderVerizon;

    invoke-virtual {v0}, Lcom/glympse/platform/ProviderVerizon;->Start()Z

    move-result v0

    return v0
.end method

.method public Stop(Z)V
    .locals 2
    .parameter "fFinal"

    .prologue
    const/4 v1, 0x0

    .line 62
    iget-boolean v0, p0, Lcom/glympse/platform/LocManager;->m_fStarted:Z

    if-eqz v0, :cond_0

    .line 64
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/glympse/platform/LocManager;->m_fStarted:Z

    .line 66
    const-string v0, "LocManager.Stop()"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 69
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderVerizon()V

    .line 70
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderSkyhook()V

    .line 71
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderNetwork()V

    .line 72
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderGps()V

    .line 73
    invoke-virtual {p0}, Lcom/glympse/platform/LocManager;->StopProviderSimulator()V

    .line 76
    iput-object v1, p0, Lcom/glympse/platform/LocManager;->m_oProviderVerizon:Lcom/glympse/platform/ProviderVerizon;

    .line 77
    iput-object v1, p0, Lcom/glympse/platform/LocManager;->m_oProviderSkyhook:Lcom/glympse/platform/ProviderSkyhook;

    .line 78
    iput-object v1, p0, Lcom/glympse/platform/LocManager;->m_oProviderNetwork:Lcom/glympse/platform/LocManager$ProviderNetwork;

    .line 79
    iput-object v1, p0, Lcom/glympse/platform/LocManager;->m_oProviderGps:Lcom/glympse/platform/LocManager$ProviderGps;

    .line 80
    iput-object v1, p0, Lcom/glympse/platform/LocManager;->m_oProviderSimulator:Lcom/glympse/platform/LocManager$ProviderSimulator;

    .line 83
    iput-object v1, p0, Lcom/glympse/platform/LocManager;->m_oLocationManager:Landroid/location/LocationManager;

    .line 86
    if-eqz p1, :cond_0

    .line 88
    invoke-static {}, Lcom/glympse/platform/ProviderVerizon;->Destroy()V

    .line 91
    :cond_0
    return-void
.end method

.method protected StopGpsIdleTimer()V
    .locals 2

    .prologue
    .line 379
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

    if-eqz v0, :cond_0

    .line 381
    const-string v0, "Stopping location timer"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 384
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, p0, Lcom/glympse/platform/LocManager;->m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->CancelPost(Lcom/glympse/platform/GRunnable;)V

    .line 387
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/glympse/platform/LocManager;->m_oGpsIdleTimer:Lcom/glympse/platform/LocManager$GpsIdleTimer;

    .line 389
    :cond_0
    return-void
.end method

.method protected StopProviderGps()V
    .locals 1

    .prologue
    .line 301
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderGps:Lcom/glympse/platform/LocManager$ProviderGps;

    if-eqz v0, :cond_0

    .line 303
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderGps:Lcom/glympse/platform/LocManager$ProviderGps;

    invoke-virtual {v0}, Lcom/glympse/platform/LocManager$ProviderGps;->Stop()V

    .line 305
    :cond_0
    return-void
.end method

.method protected StopProviderNetwork()V
    .locals 1

    .prologue
    .line 280
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderNetwork:Lcom/glympse/platform/LocManager$ProviderNetwork;

    if-eqz v0, :cond_0

    .line 282
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderNetwork:Lcom/glympse/platform/LocManager$ProviderNetwork;

    invoke-virtual {v0}, Lcom/glympse/platform/LocManager$ProviderNetwork;->Stop()V

    .line 284
    :cond_0
    return-void
.end method

.method protected StopProviderSimulator()V
    .locals 1

    .prologue
    .line 323
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSimulator:Lcom/glympse/platform/LocManager$ProviderSimulator;

    if-eqz v0, :cond_0

    .line 325
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSimulator:Lcom/glympse/platform/LocManager$ProviderSimulator;

    invoke-virtual {v0}, Lcom/glympse/platform/LocManager$ProviderSimulator;->Stop()V

    .line 327
    :cond_0
    return-void
.end method

.method protected StopProviderSkyhook()V
    .locals 1

    .prologue
    .line 238
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSkyhook:Lcom/glympse/platform/ProviderSkyhook;

    if-eqz v0, :cond_0

    .line 240
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderSkyhook:Lcom/glympse/platform/ProviderSkyhook;

    invoke-virtual {v0}, Lcom/glympse/platform/ProviderSkyhook;->Stop()V

    .line 242
    :cond_0
    return-void
.end method

.method protected StopProviderVerizon()V
    .locals 1

    .prologue
    .line 259
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderVerizon:Lcom/glympse/platform/ProviderVerizon;

    if-eqz v0, :cond_0

    .line 261
    iget-object v0, p0, Lcom/glympse/platform/LocManager;->m_oProviderVerizon:Lcom/glympse/platform/ProviderVerizon;

    invoke-virtual {v0}, Lcom/glympse/platform/ProviderVerizon;->Stop()V

    .line 263
    :cond_0
    return-void
.end method
